package com.cloudbroker.bcs.common.validatioin.constants;

public interface ValidationErrorCodes {
    
    /* 
     * 参数错误：100 ~ 999
     */
    /**
     * 缺少参数
     */
    public static final String PARAM_REQUIRED = "101";
    /**
     * 参数长度错误
     */
    public static final String PARAM_LENGTH_ERROR = "102";
    /**
     * 格式错误
     */
    public static final String PARAM_MALFORMED = "103";
    /**
     * 不是可选值
     */
    public static final String PARAM_NOT_AN_OPTION = "104";
    /**
     * 参数超出范围
     */
    public static final String PARAM_RANGE_ERROR = "105";
    /**
     * 参数不一致
     */
    public static final String PARAM_INCONSISTENT = "106";
    /**
     * 参数不是日期时间
     */
    public static final String PARAM_NOT_DATE = "107";
    /**
     * 参数时间过早
     */
    public static final String PARAM_NOT_FUTURE = "108";
    /**
     * 参数时间过晚
     */
    public static final String PARAM_NOT_PAST = "109";
    
}
